removing staff of diagram