Corner nodes bugfix