make sure text in table cell will be truncated if too long