fixed error for non existent names