Fixed bug get M