bug fix on font loading