add empty directory cases