correct typo and change error message