appending new columns to truth table had been at the wrong indentation level and was not being called if fmt was not None