redo validation for invalid date