fix datepicker bug in date-date mod