fixed bug in font name setting