Add dummy `x` variable into check_opt.