fixing validation error message