Added trailing slash to basePath