fix ks