fixed intersection error