fix textedit_sample a bit
tweak textedit sample fix