activity plugin fix