remove leading slash from base url