added redirecting for browser warnings