diff --git a/.gitignore b/.gitignore
index <HASH>..<HASH> 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,7 @@ spec/reports
 test/tmp
 test/version_tmp
 tmp
+*~
+*.iml
+*.ipr
+*.iws
diff --git a/lib/yummi/table.rb b/lib/yummi/table.rb
index <HASH>..<HASH> 100644
--- a/lib/yummi/table.rb
+++ b/lib/yummi/table.rb
@@ -313,9 +313,8 @@ module Yummi
         row = @data[row_index]
         _colors = []
         _data = []
-
         row.each_index do |col_index|
-          next if @header and @header[0].size < col_index + 1
+          next if not @header.empty? and @header[0].size < col_index + 1
           column = row[col_index]
           colorizers = @colorizers[col_index]
           if colorizers
diff --git a/lib/yummi/version.rb b/lib/yummi/version.rb
index <HASH>..<HASH> 100644
--- a/lib/yummi/version.rb
+++ b/lib/yummi/version.rb
@@ -21,5 +21,5 @@
 # THE SOFTWARE.
 
 module Yummi
-  VERSION = "0.3.0"
+  VERSION = "0.3.1"
 end
fixed a bug when no header is set