Removing warning info about invalid character.