removed some redundant code from content stats