fixed bounding box error