try fix again

TypeError: unsupported operand type(s) for &: 'float' and 'int'