fix atomics for asm