Change the order,So it can set the next sequence in callback