tmp use of nextUrl