Stability fix

Empty lines in input file no longer crash the program