updated DeductStackAmount to match back-end change