Fix tree install method