table sequence fix