fix #1076, copy/paste between strings