Fix bug in trade (yikes!)