fixed issue with region links at homepage when permalinks are enablbed