fix copyPaste window