fix uninitialize values (std::atomic has a uninitialized constructors?)