multiThread: fix asserts