fixed serialization error