Fix bug in vocabulary.