handle potention exception in name lookup as a lookup failure (to prevent crash)