datepicker fix