fixed wrong class referencing in activation and deactivation hooks