fix the font loading error