fixed transform method in Transformers (rosource)