fixed Quantity error