fix bug in gc