fix table definition