delete cm.dependencies as it is not needed