fix from 2.X for automation line clear command using the wrong object in the memento...