modify DELETE handling