IE support fix (7 & 8)