call next in redirectError