fixed two-gram feature bug