fixing character count for message text