[MTHCA] fixed a typo, producing a crash, and changed debug flags