fixes for ie7 and small other fixes