fix formatting for tables.empty?