bug fixes in hash and hash_list and vector_of_hash_list printing functions