tweak paste handling