fix bug when searching for person, search for id instead