state number correction