hour validation error message correction