fix directory missing