fixed the datepicker