fixes spacing for tables