issue #1 -- encode nbHash variable in Tool