removes cfg deletion