added new ntp and fixed some bugs in base