fixed sync in GC