bugs in intersect-list script fixed