mtcs bug fix