fix result when listing a empty dir