fixing errors in UML diagrams