fix error accessing an atom