minor enhancement to garbage collection