1 last bug for switching between editors