fixes kdf