fixed #8 - an endless loop bug in IListing