cut text and renaming