fixin wordcount bug