fix bugs in IE8