prepare to modify KF