fixed range check for inode file