clean up cg