fixed bigram hd bug