found small error in inputfile reader (first row was not read)