1.fix repeat problem