fix schedule edit