fix crash in font fragment