error handling for blank lines in list parsing