fix shipment generation