remove global flag from search, db mappings