Removing invalid character.