Fixed typo in activites hooks