Fixed boundaries correction