GC problem solution is wrong