Bugfix for boundary conditions