fixes to gc