fixed infinite loop in people_search