fixed minor errors in diagrams