removed delete statements in detectPeople