fixed the scheduler datetimepicker