fixes for browser tests