fix repeat schedule