Fix activity plugin