fix wrong transform formatting templates being used on output