cleanup import ChainMap