fixed overlap issue in middle section