fixed bugs in IE 9