changed validation message for date check