Fix undefined command name when used as multi task
Fix command return status