fix bounding boxes