Fix a fatal error of GMM

Now it works too!!!