Solved empty dir error