Bug repeating next_url fixed.