fixed null pointer in ShippingType