Solved Several Bugs in GC