cleaning up distribution