fix anti-IE code