fixed blank lines in input file error