fix for duplicate regions.