proper ie detection