fixed ks issue