fixes to date inputs