adjust sequence