added asserts to trackServer.c