fix future date validation and displays error