object detect fixes. hopefully