fix table method