remove unneeded atomics