Bugfix getActivities()