fix trees copy working on group