resolve problem of getNameByID feature