Fix a bug in Fitting Mixture