fix serialized attribute issue #11