[BUGFIX] memory leak