Fixed crash on empty input line.