Fix to collect gc values