datepicker cleanup