fixing hrtree