fix in URL handling of existdb API call