fixed order errors regarding quantity.