changed all calls to .join to urljoin