Nesting correction