update so that explicit error where dynamic attribute missing is diagnosed