fix serialize colorframe error

fix serialize colorframe error