mem leaks patched!