fix for #4. result for invoking a single command will not be an array