moved row clearing on distruction to higher base class