Fixes string displaying errors