fixed problem with commutative diagram