edges arent being copied correctly