fix bug in ebay plugin