hi
that almost certainly means that the inputs are "floating", i.e. they aren't consistently tied to ground or +5 through a pull-down or pull-up resistor. If they are already wired that way, you need to reduce the value of the resistor to about between 4.7K and 10K.
D