error for blank fields is correct