handling case of ie7