change serailize code