fixed change from getTableFields to getTableColumns