fix close schedule