using correct url for json when disted