fixed get_activities