platforms/browser/server: bugfixes