fixed error in HMAC