adding exit after redirect #10