Correct nis code

correct variables in nis code "_val"