fix trees