I believe that last two lines should be a part of `MatStep` destructor.