added sidebar countries handling