fixes in posttools and thread tools for hashes