fix problem with relative url