fixing delete provider