fix schedule autocomplete and datepicker