small bugs with audit log