fixed audit log bug