Fix for strange character bug