Fix quantity.