Buggy version: use record_r instead of *record_r as cell of hash table, which causes a lot of issues