fix kompare .... please test your modifications !!!!!!!!!