experiment with using elementId instead of id
went back to using just id, and changed order of context loading