fixes for ie7 and 6