Fixed Quantity bug