fixed the character counts also