Directory translation crashfix