fixed unsupported operand types() for &: 'set' and 'tuple'