moved to normal pointers in router, removed memory leak