datadir path fix