properly copy profile