made error messages match