revert blockdiag