fech xml by API
remove old code