Fixing an invalid character