fixes #26 to detect ie properly