fix path to data dir.