modified GcHelpers::reviseTable()