treesearch: fix export