better support for paste copy