gmm not working