fix implicit atomic warnings