fix modules for browser client