patch to simHMM