Added fix for ie7