added error message to form