fix KMF stanalone