fixed up the tables with buttons and actions.