minor x-browser fixes