fix bugs for ie