bugfix for copying inner roots