improve hashes and temporary files