fixed trade bug (who knows how long this has been there...)