fix getting gc stats