additional class function for ->deactivate() fix