fixes for browser run