fix regression tests on ie8