fixing bug: hiding, reordering and showing a column caused an inconsistency on the column definitions