this should be thread_locals.browser