fix url to be relative.