update serialize.h

deleted redundant insert