use rb_gc_register_address