log activity fixes