make mappings local