datepicker defects