Bug fixes for IE browsers