fix log/data dir