Commented out the redirect line that doesn't work in Canvas.