fix seq changed to 0