Fix incorrect var in regions directive