rework how we check if name param exists