fix a bug in cg54 obj creation