fix and log audit implement