tools: few fixes for countryblock.