modify paste_path