added code for deleting empty providers