fix resolveToggle for addons