fix for datepicker