fixed event bug in ie7