Fixed multithreading
Fixed multithreading