corrected the double skipping old next