[bugfix] memleak