bounding box fix