fixed date picker validation