minor modification on intersection processing