Fix the datepicker field