Small bugfix in diagram