Template variable mixup