cleanup previous code to make config-chain fault-tolerant