Fixed the Bug in Atomics