fixing CG_Dump()