avoid gc bug fixed.