cleaning up periphery and migrants