fixed the error with namefind