markov bugfix, impl stats