Fix bug with relative url