fix some bugs which display in IE