Fix repeat append bug.

1.	The flow control fixed.