wordcount bugfix