fix version 7 of the diagram