fixed sequence_id migration