fix for paste in different tabs