fix parameterization of ntp class