added security check for GC correction