cleanup on ESIs that aren't needed