fixed an error with the date validation