course date input fix