Maybe pull up resistor is missing?