prevent current editor reload bugfix