Gingerbread get num columns fix

Planning to give felipe a PR for this and will likely replace with his branch if/when he accepts