stir bug fixes and new table to ouput page