Fix clone and read only bug for root relationship