Fix base url call, closes #82