Fix ie detection