fixes issue with ntp class declaration