fixed Viterbi UI