correct several diagrams