some table layout fixes