fix Cg management module