Fixed the glm, now only using glm-pois