removing cfg