fix all memory leaks ;-)