fix bug: gc_ptr from inserted gc_new was collected in roots