fixed broken directory listing (introduced in 14429b2e53f42404872b9fd2ade014bb38dd1809)