replaced not needed key_to_hash by member mid