fix IE detection