fixing labels bug from looking in global scope for subunits