fix scope of sets in components
emit addItemContext