fixed the default value for 'basePath'