core: fix getUrls