unstable inputs

That's why i'm using the LM339
it's a voltage comparer; when pushing a button; the voltage rises from 16v to 24v and the IC returns a digital output to the arduino. Since i'm using that, no button problems appears..