How about swap this? `if (extra_params) {…`