fixed old datepicker