bug fix in adnet glm scripts