clean after cfg