fix intersection issue