fix copy page into istself
fixed an ancestor method bug