amend the error for type DATE