correct removal of configs