fixed getActivityNames()