partial fix textedit