correct a bug of BBox