npsurv: was not passing type argument