charset and county count fix