Sure if you assign those i/o to output you'll never be able to get the expected results. And depending what happen at the power-up.. results may differ

Set them to input and attach some pull-down resistor to.