debugging hooktree system