bug fix MT rem test_hmm