fix: create tree copy if it already exists