fix testcase fail in running under IE 8