fixed a segfault in Multiplexing Task