#298 improve object detection