prevent crash when empty line is read in semi_input data file