fixed issue with relative urls