fix https://github.com/slirx/jTree/issues/2