fix is.validDate