better detection for IE
first draft