Fixed bug with empty input.