bug fix for table spacing issues