minor fixes for GC and regualr