bug in ndpp.f90 introduced by last commit