removing thread-local cache for branch_setting