corrected error in hmac