improved iksde detection