* removed memory leaks debug code