fix ole reader, restore some original logic