replace get resource URL with resource stream