date_input fix