remove unnecessary atomic calls