fix Methods in diagrams