more npval2 replacement, mark XXX dubious arguments