fix font loading issue