fixes to copy-transpose