add dataDirPath for Mac