fixed bug where a single line of output from Splunk would cause an exception