IE8 fix, 2nd attempt