Improved IE fix