fix 1 based indexing for statuses in table