fixing some api parity issues with browser and server