remove useless diagram