fixed cryptic buy/sell error