textcounter charcount bug fixed