more changes for fixing displaying glyphs