fixup multithreading import