character count fix