Fix form input
Fix date format