fix custom datepicker inputs