getting rows to work properly in deal-table.html