fix .m file