fix unref issue
3.0.2