fixed dateValidator