BUG FIX: tree