add license and fix extra "county" bug