handling if names is not recognized