Issue with matrix keypad vs pull up buttons (in the code)

thanks for the ideas, ill give them a try and let you know.