Fixed old config not getting removed.