improve serializability