fixed datepicker reset