fixed n-best list issue