Fixing wrong number of columns in table def