solutions for problems with hashes