fix KMF