modify tb_hash_t to tb_handle_t