fix search for people and search for codes