quick and dirty datepicker fix