repeat jumping logic fixed