Fix packing of version