remove unnecessary diagram