fixed characters not displaying correctly