Fixed continue not in a loop error in previous