fixed the table and confirmed the sql numbers