some bugfixed
Merge branch 'master' of https://github.com/loizuf/MME_Project