Fixed bug in directory listing.