ie and firefox fixes