[authenticator][counter]Bugs solved