add a if testment to avoid the wrong intersection