remove some unused code(baseDir config)