correction of UMLElementPanel