bigram compatibility with old version