fix bundary