fix for live word counter