fix directory determinism