fix repeat BUG