Fix atomics