addressing glm demo issue