fixed bug on shipment client side validation