fixed reading dirs with more than 100 items