Fix bug in choose_people