try to remove empty directory