correction intersection function