fix repeat