Fixing ie7 bugs