fix texteditor