changed unop catch of tree to match on type of expr instead of operator