fix some bugs on ie8