fix log activity