fix basePath location