remove unfinished text