stop table from overflowing