Fixing index finding line.