fix lexicon scaling bug