fix a bug

when first time call increaseCounter(), return 1 and set sequence to 2