fixed bug: merging when no lists exist
refactoring intersect method, fixed a bug