change erase line from table method