Fixed bugs with MEC
Merge pull request #10 from Hohahihehu/master

Fixed bugs with MEC