prevent text running out of table