bugfix on saving an audit