fixed bug with shape's intervals in shape container