Fixing multiple correct glyph issue in the code