correct urls to resources