fixed glass problem and figure out problem with bounding box