fix the dollarSpread bug