delete intermediate object