runtime: fixed hash functions