pay attention to garbage collection flag