fixed memory leak in statistica