improve :delete command