improve getlabel, fix markov crashing bug