fix for scoped areas