changed the amount of read out glyphs to not go beyond the number of glyphs