fixed the function type in --dumptree