IE and firefox fixes