fixed intersection warning