remove the last of the text