removed deprecated namestr function