nullified memory leaks