disabling the redirect