copy/paste bug in Transformer