bug fix for ExtendedTextGrid.prepare()
fix for prepare