glm deactivation