fix when ack number more than 1 digit

fix when ack number more than 1 digit
Merge pull request #1 from hearther/master

fix when ack number more than 1 digit