show error message at the top in case of missing fields