Fix some issues and add response to object detection