mcheck error fixed