small memory leak adressed