inputDate fixes