date input field fix