improved schema and object detection