bugfix: return void array if thread is void itself