fixed smart_kf