selection delete cleanup