Fix atomics initializations