delete the old provider