fixed possible problem
when a missed cat file gets always the lowestValue