minor serialization bug squashes; tests pass :D