fixed up error messages