fixed bug with shipment request code logic