cpp: fix transformer specs