Fix diagrams