fix Table code so that it aligns headers and cols