fix data dir paths