Multithreading fixed, atomic removed