fix font opening error