fixed bounding box issue