add colorId to dumpstruct