Fixed redirect_next import