fix CAM table output