remove unused import
set kappa to nzs, which always works