there was an issue with pokemondb.net xml. switched sites and now code is working