serialization fix and total price