bug fix in mc