fixed serialization bug
0.2.2