cleaning up provider