fix audit trail