fixing hashlib