fixed a bug that would execute the editor stack twice