fixed empty directory