fixed datepicker issue