fix bugs and add exception for call ebay api