fixed bugs with statements and shipments