removing cfg assignation