fix to transform copy bug