fix bugs in ie7