cleaned up error messages