replace ows urls with relative ones