removed memleak