GLM error fixed