files count fix