replaced call to wrapAtom() with calls to wrapAuditAtom().