corrected response for empty directory listings