some memory leak tweak attempts