added error message for all fields