fix audit bug