fix copyPaste Exception