fix some bugs for ie6