remove hidden symbols and build tree
merge