Better IE handling