small fix for buy/sell