fixed next_url