Fix @activities bug