Resolve 'next' redirect