word frequency error fixed