finishing memory migration