attempted fix for detectPeople bug