serialize redeclaration error

src/serialize.h:825:10: error: class member cannot be redeclared

rm line 812-824