Fix boundries