fix paste_text