trade plotting fix