contest phase activity determination algorithm fix, few actions related to activities