bug fix of member id not logging correctly