prevented some errors when the order has no taxes