Fix docFrequency