fixed the table offset