invalid scopedefinition