fixed score serialization