took off trailing slash on baseurl