Problems with Accurately Reading Many Button Switches

How are the buttons wired?
It should be between the input and ground with the internal pull up resistors enabled in the pin mode statement.