Fixing the redirect