Solve 'gc' problem.