fix object detection for default