fixing date time picker