removes hidden columns

hidden columns are now removed from what is displayed
removes hidden columns

hidden columns are now removed from what is displayed.
removed unused function