text editing fix