Better handle bad param for links