getTINP: fixed search of undefined